/*
 * $Id$
 */
package corejs.expr;


import corejs.rt.Value;

public class DecrementExpr extends UnaryExpr {

   private boolean _prefix;

   public DecrementExpr(final Expression e, final boolean prefix) {
      super(e);
      _prefix = prefix;
   }

   @Override
   public Value accept(final ExpressionVisitor visitor) {
      return visitor.visitDecrement(_prefix, _expr);
   }
}
